package com.teacher.service;

import com.teacher.common.CommonResult;
import com.teacher.pojo.dto.culturalactivitiesrewardtask.CulturalActivitiesRewardTaskAddDto;
import com.teacher.pojo.dto.culturalactivitiesrewardtask.CulturalActivitiesRewardTaskUpdateDto;
import com.teacher.pojo.entity.CulturalActivitiesRewardTask;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teacher.pojo.vo.culturalactivitiesrewardtask.CulturalActivitiesRewardTaskGetVo;

/**
 * <p>
 * 文艺活动奖项 服务类
 * </p>
 *
 * @author zfm
 * @since 2021-08-13
 */
public interface ICulturalActivitiesRewardTaskService extends IService<CulturalActivitiesRewardTask> {

    /**
     * 发起文艺活动奖项审批流程
     *
     * @param dto
     * @return
     */
    CommonResult<String> add(CulturalActivitiesRewardTaskAddDto dto);

    /**
     * 更新流程
     *
     * @param dto
     * @return
     */
    CommonResult<String> updateInfo(CulturalActivitiesRewardTaskUpdateDto dto);

    /**
     * 获取详情
     *
     * @param id
     * @return
     */
    CommonResult<CulturalActivitiesRewardTaskGetVo> getDetails(Long id);
}
